home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
prog_bas
/
nkbvc11.zip
/
KNOB.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-11
|
2KB
|
76 lines
#ifndef __KNOB_H__
#define __KNOB_H__
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CKnob wrapper class
class CKnob : public CWnd
{
protected:
DECLARE_DYNCREATE(CKnob)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x7bb4d420, 0x4c40, 0x11cf, { 0x94, 0xe5, 0x0, 0x0, 0xc0, 0x57, 0x17, 0x40 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
unsigned long GetNeedleColor();
void SetNeedleColor(unsigned long);
unsigned long GetBorderColor();
void SetBorderColor(unsigned long);
short GetMin();
void SetMin(short);
short GetMax();
void SetMax(short);
short GetPos();
void SetPos(short);
long GetOuterBevel();
void SetOuterBevel(long);
long GetInnerBevel();
void SetInnerBevel(long);
short GetOuterBevelWidth();
void SetOuterBevelWidth(short);
short GetInnerBevelWidth();
void SetInnerBevelWidth(short);
short GetBorderWidth();
void SetBorderWidth(short);
unsigned long GetShadowColor();
void SetShadowColor(unsigned long);
unsigned long GetHiliteColor();
void SetHiliteColor(unsigned long);
long GetOrientation();
void SetOrientation(long);
unsigned long GetFaceColor();
void SetFaceColor(unsigned long);
OLE_COLOR GetBackColor();
void SetBackColor(OLE_COLOR);
// Operations
public:
void AboutBox();
};
#endif // __KNOB_H__